import { Result } from 'antd';

import styles from './index.module.scss';

export type Exception403Props = React.PropsWithChildren & {};

const Exception403: React.FC<Exception403Props> = ({ children }) => {
  return (
    <div className={styles['exception']}>
      <Result status="403" title="403" subTitle="抱歉，你没有权限访问该页面。" extra={children} />
    </div>
  );
};

export default Exception403;
